﻿// Decompiled with JetBrains decompiler
// Type: UnityEngineInternal.MemorylessManager
// Assembly: UnityEngine.CoreModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
// MVID: E6AE6B5A-2752-4B07-9528-C8B77C62CE79
// Assembly location: C:\Users\windys\Unity\2021.3.39f1c1\Editor\Data\Managed\UnityEngine\UnityEngine.CoreModule.dll
// XML documentation location: C:\Users\windys\Unity\2021.3.39f1c1\Editor\Data\Managed\UnityEngine\UnityEngine.CoreModule.xml

using System.Runtime.CompilerServices;
using UnityEngine.Bindings;

#nullable disable
namespace UnityEngineInternal
{
  [NativeHeader("Runtime/Misc/PlayerSettings.h")]
  public class MemorylessManager
  {
    public static MemorylessMode depthMemorylessMode
    {
      get => MemorylessManager.GetFramebufferDepthMemorylessMode();
      set => MemorylessManager.SetFramebufferDepthMemorylessMode(value);
    }

    [NativeMethod(Name = "GetFramebufferDepthMemorylessMode")]
    [StaticAccessor("GetPlayerSettings()", StaticAccessorType.Dot)]
    [MethodImpl(MethodImplOptions.InternalCall)]
    internal static extern MemorylessMode GetFramebufferDepthMemorylessMode();

    [StaticAccessor("GetPlayerSettings()", StaticAccessorType.Dot)]
    [NativeMethod(Name = "SetFramebufferDepthMemorylessMode")]
    [MethodImpl(MethodImplOptions.InternalCall)]
    internal static extern void SetFramebufferDepthMemorylessMode(MemorylessMode mode);
  }
}
